//TODO dart 2.17之后，可以考虑用增强性enum改写
enum Env {
  RELEASE ,
  DEV1 ,
  DEV2 ,
  DEV3 ,
  TEST01 ,
  TEST02 ,
  TEST03
}

/*enum env {
  RELEASE("release", ""),
  DEV1("dev1"),
  DEV2("dev2"),
  DEV3("dev3"),
  TEST01("test01"),
  TEST02("test02"),
  TEST0("test03");

  Env({required this.code, String value }) {
    this.h5Url =  BASE_H5_URL_HEAD + (value != null ? this.code.toLowerCase() : "") + this.code +  URL_END;
    this.apiUrl = API_URL_HEAD + this.code + URL_END;
  }

  static final String BASE_H5_URL_HEAD = "http://www.";
  static final String API_URL_HEAD = "https://api.";

  static final String URL_END = "xinanyun.cn/";

  final String code;
  final String value;
  final String h5Url;
  final String apiUrl;


}*/